package com.test.textGame.service;


import com.test.textGame.domain.Player;
import org.apache.rocketmq.client.exception.MQBrokerException;
import org.apache.rocketmq.client.exception.MQClientException;
import org.apache.rocketmq.remoting.exception.RemotingException;

/**
 *  Auto created by codeAppend plugin
 */
public interface Top10Service {

    /**
     * 更新自己的top10排行榜
     * @param player
     * @param gameScore
     */
    void updateHeap(Player player, Integer gameScore) throws InterruptedException, RemotingException, MQClientException, MQBrokerException;

}